/*
 * MessageCS2LSRep.h
 *
 *  Created on: Nov 14, 2010
 *      Author: nobal
 */

#ifndef MESSAGECS2LSREP_H_
#define MESSAGECS2LSREP_H_

#include "Message.h"
#include "AllConstants.h"
#include <vector>


class MessageChunkInfo:public Message {
private:
	std::vector<string> chunks;

public:
	MessageChunkInfo(string msgType);
	MessageChunkInfo(string msgtype,string msg);
	MessageChunkInfo(std::vector<string> v,string msgType);

	string getMessageFromChunks(std::vector<string>);
	std::vector<string> getChunks();
	std::vector<string> setChunksFromRawMsg(string rawMessage);
	void buildMessage();

	void setChunks(std::vector<string> chunks);
	virtual ~MessageChunkInfo();
};

#endif /* MESSAGECS2LSREP_H_ */
